<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录注册</title>
    <link rel="stylesheet" type="text/css" href="../../static/css/pageChange.css">
    <script src="../enroll/pageChange.js"></script>
</head>

<body>
    <!-- 登陆注册切换部分 -->
    <div class="control">
        <div class="item">
            <div class="active">登录</div>
            <div>注册</div>
        </div>

        <!-- 用户信息收集部分 -->
        <div class="content">
            <!-- 登录部分 -->
            <form action="#" method="post" name="login">
                <div style="display: block;">
                    <p>用户名</p>
                    <input id="username" type="text" value="" class="firstsubstance">
                    <p>密码</p>
                    <input id="passwd" type="password" value="" class="firstsubstance">
                    <br />
                    <input type="button" value="登录" class="firstmessage" onclick="Enroll()">

                </div>
            </form>
            <!-- 注册部分 -->
            <form action="#" method="post" name="registration">
                <div>
                    <p>用户名</p>
                    <input id="User_name" type="text" class="substance">
                    <!--判断用户名在数据库中是否存在没有写-->
                    <p>密码</p>
                    <input id="input1" type="password" class="substance">
                    <p>确认密码</p>
                    <input id="input2" type="password" value="test" class="substance" onblur="check2pwd()">
                    <br />
                    <input type="submit" value="注册" class="message" onclick="Successful()">

                </div>
            </form>
        </div>
    </div>

    <!-- 背景部分 -->
    <div class="square">
        <ul>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
    <div class="circle">
        <ul>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>

</html>